package com.liyang.springcloud.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @BelongsProject: cloud-2024
 * @BelongsPackage: com.liyang.springcloud.domain
 * @Author: liyang
 * @CreateTime: 2024-01-10  09:34
 * @Description: 订单实体
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {

    private Long id;

    private Long userId;

    private Long productId;

    private Integer count;

    private BigDecimal money;

    /**
     * 订单状态：0：创建中；1：已完结
     **/
    private Integer status;
}
